<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 插件菜单
*/
defined('BY_JYA') or exit('error');
$menus = array(
	array('title'=>'概况','fa'=>'icon-dianpu','url'=>'jy_farmer/index/','child'=>array(
		array('title'=>'平台概况','child'=>array(
			array('url'=>'jy_farmer/index/','title'=>'平台概况'),
		)),
		array('title'=>'平台相关','child'=>array(
			array('url'=>'jy_farmer/notice/','title'=>'公告管理'),
			array('url'=>'jy_farmer/comment/','title'=>'评论管理'),
		)),
		array('title'=>'种草管理','child'=>array(
			array('url'=>'jy_weishop/grass.index/','title'=>'种草管理'),
			array('url'=>'jy_weishop/grass.groups/','title'=>'种草分类'),
			array('url'=>'jy_weishop/grass.setting/','title'=>'种草设置'),
		)),
		array('title'=>'短视频','child'=>array(
			array('url'=>'jy_weishop/video.index/','title'=>'短视频管理'),
			array('url'=>'jy_weishop/video.groups/','title'=>'短视频分类'),
			array('url'=>'jy_weishop/video.setting/','title'=>'短视频设置'),
		)),
		array('title'=>'报名活动','child'=>array(
			array('url'=>'jy_baoming/list/','title'=>'报名列表'),
			array('url'=>'jy_baoming/group/','title'=>'报名分类'),
		)),
	)),
	array('title'=>'地块管理','fa'=>'icon-ditu','url'=>'jy_farmer/lclassify/','child'=>array(
		array('title'=>'地块管理','child'=>array(
			array('url'=>'jy_farmer/lclassify/','title'=>'地块列表'),
			array('url'=>'jy_farmer/land/','title'=>'土地列表'),
			array('url'=>'jy_farmer/seed/','title'=>'种子列表'),
			array('url'=>'jy_farmer/plant/','title'=>'种植列表'),
		)),
	)),
	array('title'=>'果树认养','fa'=>'icon-gengduotupian','url'=>'jy_farmer/guoshu/','child'=>array(
		array('title'=>'果树管理','child'=>array(
			array('url'=>'jy_farmer/guoshu/','title'=>'果树列表'),
			array('url'=>'jy_farmer/gclassify/','title'=>'果树分类'),
			array('url'=>'jy_farmer/gdopt/','title'=>'认养列表'),
		)),
	)),
	array('title'=>'家禽管理','fa'=>'icon-gengduotupian','url'=>'jy_farmer/animal/','child'=>array(
		array('title'=>'家禽管理','child'=>array(
			array('url'=>'jy_farmer/animal/','title'=>'家禽列表'),
			array('url'=>'jy_farmer/aclassify/','title'=>'家禽分类'),
			array('url'=>'jy_farmer/adopt/','title'=>'领养列表'),
		)),
	)),
	array('title'=>'订单管理','fa'=>'icon-form','url'=>'jy_farmer/l_order/','child'=>array(
		array('title'=>'订单管理','child'=>array(
			array('url'=>'jy_farmer/l_order/','title'=>'租地订单'),
			array('url'=>'jy_farmer/s_order/','title'=>'种子订单'),
			array('url'=>'jy_farmer/a_order/','title'=>'认养订单'),
			array('url'=>'jy_farmer/g_order/','title'=>'果树订单'),
			array('url'=>'jy_farmer/plant/','title'=>'种植列表'),
			array('url'=>'jy_farmer/adopt/','title'=>'养殖列表'),
			array('url'=>'jy_farmer/gdopt/','title'=>'果树列表'),
		)),
	)),
	array('title'=>'工人管理','fa'=>'icon-wo1','url'=>'jy_farmer/worker/','child'=>array(
		array('title'=>'工人管理','child'=>array(
			array('url'=>'jy_farmer/worker/','title'=>'工人列表'),
			array('url'=>'jy_farmer/worker_group/','title'=>'工人分类'),
		)),
	)),
	array('title'=>'商品管理','fa'=>'icon-cart1','url'=>'jy_weishop/goods.list/','child'=>array(
		array('title'=>'商品管理_Goods list','child'=>array(
			array('url'=>'jy_weishop/goods.list/','title'=>'出售中'),
			array('url'=>'jy_weishop/goods.out/','title'=>'已售罄'),
			array('url'=>'jy_weishop/goods.stock/','title'=>'仓库中'),
			array('url'=>'jy_weishop/goods.cycle/','title'=>'回收站'),
			array('url'=>'jy_weishop/goods.verify/','title'=>'待审核'),
			array('url'=>'jy_weishop/goods.group/','title'=>'商品分类'),
			array('url'=>'jy_weishop/goods.label/','title'=>'标签管理'),
			array('url'=>'jy_weishop/goods.basicinfo/','title'=>'固定信息'),
		)),
		array('title'=>'商品相关_Goods info','child'=>array(
			array('url'=>'jy_weishop/goods.comment/','title'=>'商品评价'),
		)),
		array('title'=>'虚拟卡密_Virtual','child'=>array(
			array('url'=>'jy_weishop/goods.virtual_temp/','title'=>'虚拟卡密'),
			array('url'=>'jy_weishop/goods.virtual_group/','title'=>'卡密分类'),
			array('url'=>'jy_weishop/goods.virtual_set/','title'=>'卡密设置'),
		)),
		array('title'=>'订单管理_Order list','child'=>array(
			array('url'=>'jy_weishop/order.list/list/all=1','title'=>'全部订单'),
			array('url'=>'jy_weishop/order.list/list/status=0','title'=>'待付款'),
			array('url'=>'jy_weishop/order.list/list/status=1','title'=>'待发货'),
			array('url'=>'jy_weishop/order.list/list/status=2','title'=>'待收货'),
			array('url'=>'jy_weishop/order.list/list/status=3','title'=>'已完成'),
			array('url'=>'jy_weishop/order.list/list/status=4','title'=>'已关闭'),
			array('url'=>'jy_weishop/order.list/deleted/','title'=>'回收站'),
		)),
		array('title'=>'维权_Refund','child'=>array(
			array('url'=>'jy_weishop/order.refund/','title'=>'维权申请'),
		)),
		array('title'=>'工具_Tools','child'=>array(
			array('url'=>'jy_weishop/order.export/','title'=>'自定义导出'),
			array('url'=>'jy_weishop/order.batchsend/','title'=>'批量发货'),
		)),
		array('title'=>'优惠券','child'=>array(
			array('url'=>'jy_weishop/coupon.count/','title'=>'优惠券概况'),
			array('url'=>'jy_weishop/coupon.list/','title'=>'全部优惠券'),
			array('url'=>'jy_weishop/coupon.goodssend/','title'=>'活动/购物送券'),
			array('url'=>'jy_weishop/coupon.sendcoupon/','title'=>'手动发放'),
			array('url'=>'jy_weishop/coupon.log/','title'=>'发放记录'),
			array('url'=>'jy_weishop/coupon.group/','title'=>'分类管理'),
			array('url'=>'jy_weishop/coupon.set/','title'=>'其他设置'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=coupon.index','title'=>'优惠券入口'),
		)),
	)),
	array('title'=>'会员管理','fa'=>'icon-paihao0','url'=>'core/member.cover/','child'=>array(
		array('title'=>'会员管理','child'=>array(
			array('url'=>'core/member.cover/','title'=>'会员中心'),
			array('url'=>'core/member.member/','title'=>'会员列表'),
			array('url'=>'core/member.group/','title'=>'会员等级'),
		)),
	)),
	array('title'=>'应用列表','fa'=>'icon-box','url'=>'jy_farmer/plugins/','child'=>array(
		array('title'=>'应用列表','child'=>array(
			array('url'=>'jy_farmer/plugins/','title'=>'应用列表'),
		)),
	)),
	array('title'=>'基本设置','fa'=>'icon-shezhi','url'=>'jy_farmer/setting/','child'=>array(
		array('title'=>'基本设置','child'=>array(
			array('url'=>'jy_farmer/setting/','title'=>'基本设置'),
			array('url'=>'jy_weishop/shop.peisong/','title'=>'运费模板'),
			array('url'=>'jy_farmer/express_set/','title'=>'物流接口设置'),
			array('url'=>'jy_farmer/xieyi/','title'=>'认领协议'),
			array('url'=>'jy_farmer/jianjie/','title'=>'公司简介'),
		)),
		array('title'=>'消息提醒','child'=>array(
			array('url'=>'core/setting.msgset/list/plugin_name=jy_farmer','title'=>'消息开启设置'),
			array('url'=>'core/setting.msgtpl/list/plugin_name=jy_farmer','title'=>'微信模板库'),
		)),
		array('title'=>'短信配置','child'=>array(
			array('url'=>'core/setting.sms_temp/','title'=>'短信消息库'),
		)),
		array('title'=>'入口管理','child'=>array(
			array('url'=>'jy_farmer/basic.module_home/cover/ac=index&type=3','title'=>'首页入口'),
			array('url'=>'jy_farmer/basic.module_home/cover/ac=goods&type=3','title'=>'农产品列表'),
			array('url'=>'jy_farmer/basic.module_home/cover/ac=myhome&type=3','title'=>'个人中心'),
			array('url'=>'jy_farmer/basic.module_home/cover/ac=worker_home&type=3','title'=>'员工入口'),
			array('url'=>'jy_farmer/basic.module_home/cover/ac=lclassify&type=3','title'=>'地块列表'),
			array('url'=>'jy_farmer/basic.module_home/cover/ac=aclassify&type=3','title'=>'家禽列表'),
		)),
	)),
);
if(!$this->plugin_exists('jy_baoming')){
	unset($menus['child'][4]);
}
return $menus;